package com.skt.common_hr.holotreq.view.calendar
{
	public class CalendarUtils
	{
		static public function firstDayOfMonth(date:Date):int
		{
			var tmp:Date = new Date(date);
			tmp.date = 1;
			return tmp.day;
		}

		static public function daysInMonth(date:Date):int
		{
			var tmp:Date = new Date(date);
			tmp.date = 1;
			tmp.month++;
			tmp.date -= 1;
			return tmp.date;
		}


	}
}